package com.bwie.pojo.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ 就诊记录表
 * @descriptions: VisitPo
 * @author: LiYang
 * @date: 2025/3/17 0:04
 * @version: 1.0
 */
@Data
public class VisitPo {
//就诊id
    private Integer visitId;
//挂号表id
    private Integer registrationId;
//就诊类型
    private Integer visitType;
//性别
    private Integer sex;
//患者姓名
    private String patientName;
//手机号码
    private String phoneNumber;
//出生日期
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date birthDate;
//身份证号
    private String idCard;
//年龄
    private Integer age;
//科室id
    private Integer departmentId;
//医生id
    private Integer doctorId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
 private Date creatTime;


}
